FROM bellsoft/liberica-openjdk-debian:8u422

MAINTAINER Ann

RUN mkdir -p /an/monitor/logs

WORKDIR /an/monitor

EXPOSE 9090

ADD ./target/ann-monitor-admin.jar ./app.jar

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
